<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>太极旋转</title>
    <style>
        .big_box {
            position: relative;
            margin: 100px auto;
            width: 400px;
            height: 400px;
            background-color: black;
            border-radius: 50%;
            border: 3px solid black;
            animation: rotate 3s infinite alternate;
            /* transition: all 3s; */
        }

        /* .big_box:hover {
            transform: rotate(360deg);
        } */

        @keyframes rotate {
            to {
                transform: rotate(360deg);
            }
        }

        .small_box {
            width: 0;
            height: 0;
            border-radius: 50%;
            border: 200px solid black;
            border-left: 200px solid white;
            border-bottom: 200px solid white;
        }

        span:first-of-type {
            position: absolute;
            left: 31px;
            top: 28px;
            display: inline-block;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background-color: white;
        }

        span:first-of-type a {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            display: inline-block;
            text-decoration: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: black;
        }

        span:last-of-type {
            position: absolute;
            right: 31px;
            bottom: 28px;
            display: inline-block;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background-color: black;
        }

        span:last-of-type a {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            display: inline-block;
            text-decoration: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: white;
        }
    </style>
</head>

<body>
    <div class="big_box">
        <div class="small_box">
            <span><a href="#"></a></span>
            <span><a href="#"></a></span>

        </div>
    </div>
</body>

</html>